package com.peace.hospital.entity.hospitalization;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病床表
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Sckbed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病床id
     */
    @TableId(value = "sckid", type = IdType.AUTO)
    private Integer sckid;

    /**
     * 病房编号
     */
    private Integer sicid;

    /**
     * 病床代号
     */
    private String sckbedsid;

    /**
     * 是否被占用
     */
    private Integer sckwhether;

    /**
     * 数据库名
     */
    private String sckdbsource;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getSckid() {
        return sckid;
    }

    public void setSckid(Integer sckid) {
        this.sckid = sckid;
    }

    public Integer getSicid() {
        return sicid;
    }

    public void setSicid(Integer sicid) {
        this.sicid = sicid;
    }

    public String getSckbedsid() {
        return sckbedsid;
    }

    public void setSckbedsid(String sckbedsid) {
        this.sckbedsid = sckbedsid;
    }

    public Integer getSckwhether() {
        return sckwhether;
    }

    public void setSckwhether(Integer sckwhether) {
        this.sckwhether = sckwhether;
    }

    public String getSckdbsource() {
        return sckdbsource;
    }

    public void setSckdbsource(String sckdbsource) {
        this.sckdbsource = sckdbsource;
    }

    @Override
    public String toString() {
        return "Sckbed{" +
                "sckid=" + sckid +
                ", sicid=" + sicid +
                ", sckbedsid='" + sckbedsid + '\'' +
                ", sckwhether=" + sckwhether +
                ", sckdbsource='" + sckdbsource + '\'' +
                '}';
    }
}
